﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories; //仓储基类
using WisDom.SmartTMS.Entity;
using WisDom.SmartTMS.Enums;

namespace WisDom.SmartTMS.Data
{
    /// <summary>
    /// 业务审批根聚合的仓储接口
    /// </summary>
    public interface IBusinessAuditRepository : IRepository<Audit, Guid >
    {
        //写上自己的仓储接口方法

        //返回根据主键和业务类型返回
        IQueryable<Audit> GetAuditById(Guid Id, BusinessType businessType);

        //返回该业务类型所有的审核主信息
        IQueryable<Audit> GetAuditList(BusinessType businessType);
    }
}
